package com.cloudbroker.bcs.platform.ltb.middle.service.impl;

import com.cloudbroker.bcs.common.dao.base.DAOBase;
import com.cloudbroker.bcs.platform.ltb.middle.dao.MsgDAO;
import com.cloudbroker.bcs.platform.ltb.middle.dao.MsgReadRecordDAO;
import com.cloudbroker.bcs.platform.ltb.middle.entity.Msg;
import com.cloudbroker.bcs.platform.ltb.middle.entity.MsgReadRecord;
import com.cloudbroker.bcs.platform.ltb.middle.entityview.MsgGroupCountParam;
import com.cloudbroker.bcs.platform.ltb.middle.entityview.MsgGroupCountView;
import com.cloudbroker.bcs.platform.ltb.middle.service.MsgReadRecordService;
import com.cloudbroker.bcs.platform.ltb.middle.service.MsgService;
import com.cloudbroker.bcs.platform.ltb.middle.service.base.TenantServiceImplBase;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by daibd19671 on 2016/12/28.
 */
@Service
public class MsgReadRecordServiceImpl extends TenantServiceImplBase<MsgReadRecord, String> implements MsgReadRecordService {
    @Resource
    private MsgReadRecordDAO msgReadRecordDAO;
    @Override
    protected DAOBase<MsgReadRecord, String> getDAO() {
        return msgReadRecordDAO;
    }


    @Override
    public void addList(List<MsgReadRecord> addList) {
        msgReadRecordDAO.addList(addList);
    }
}
